Getting started with Linux: Installing a closed-source software package in Debian
Q: I need to install a specific closed-Source Device Driver In Debian. However, I cannot find and install software packages in Debian. How does one install the closed-source software package in Debian?
Debian is a release with 48,000 software packages. These software packages are divided into three types: main, contrib and non-free. Refer to the Debian open source software guide (DFSG) based on license requirements ).
The main software warehouse includes open source software conforming to DFSG. Contrib also includes open-source software conforming to DFSG, but relies on closed-source software for compilation or execution. Non-free includes reusable closed-source software that does not comply with DFSG. The main repository is considered part of the Debian project, but contrib and non-free are not. The latter two are only maintained and provided for the convenience of users.
If you want to install the closed-source software package on Debian, you need to add the contrib and non-free software repositories. In this way, open/etc/apt/sources. list in the text editor and add "contrib non-free" "to each source.
The following is an example of/etc/apt/sources. list for Debian Wheezy.
- Deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
- Deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
-
- Deb http://security.debian.org/wheezy/updates main contrib non-free
- Deb-src http://security.debian.org/wheezy/updates main contrib non-free
-
- # Wheezy-updates, previously called 'volatile'
- Deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
- Deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
After modifying the source, run the following command to download the file indexes of the contrib and non-free software repositories.
- $ Sudo apt-get update
If you use aptitude, run the following command.
- $ Sudo aptitude update
Search for and install any closed-source software package on Debian.
This article permanently updates the link address: