Getting started with Linux: Installing a closed-source software package in Debian

Source: Internet
Author: User

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.

  1. Deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
  2. Deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
  3.  
  4. Deb http://security.debian.org/wheezy/updates main contrib non-free
  5. Deb-src http://security.debian.org/wheezy/updates main contrib non-free
  6.  
  7. # Wheezy-updates, previously called 'volatile'
  8. Deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
  9. 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.

  1. $ Sudo apt-get update

If you use aptitude, run the following command.

  1. $ Sudo aptitude update

Search for and install any closed-source software package on Debian.

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.