6

I have to install manually a file with a type I never seen before: .dsc

How can I install this kind of file on linux??

  • 1
    That's not a software package, it's just a text file that describes a software package. – Wyzard Apr 18 '12 at 2:23
4

From FilExt.com:

Debian (Source Control (Source Package)) Typically lower case on *nix systems. Description File DPKG-source

Debian source packages consist of two or three files. First the *.DSC file which contains some information information about the package and checksums for the remaining file(s). Second a *.TAR.GZ holding the upstream sources. And third, if any changes need to be made to the sources, they are distributed as *.DIFF.GZ. To simplify the unpacking process a single command, "dpkg-source -x *.dsc", is provided by Debian to unpack these files. This association is classified as Source Code.

| improve this answer | |
1

From Linuxquestions.org

Full procedure to install the package related to a .dsc file:

  1. Install dpkg-dev package if not present in your linux machine

    sudo apt-get install dpkg-dev

  2. Following command extracts the package into an automatically created directory. Note that the necessary xxx-orig.tar.xz and xxx-debian.tar.xz files must be in the same directory in order to work properly.

    dpkg-source -x yourfile.dsc

    If you get error message concerning the signature, check this post here.

  3. To build the package go to the directory that was created in 2nd step and issue below command

    dpkg-buildpackage -rfakeroot -b

  4. to install the built package issue below command

    dpkg -i ../yourfile_arch.deb

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.