How can I enable non-free packages on Debian? I want to install Sun's Java JDK but it's not available to me.
Debian – How to Enable Non-Free Packages
aptdebianlinux
Related Topic
- Ubuntu – How to Skip Interactive Post-Install Configuration Steps in APT-GET
- Debian – How to install Sun Java JDK 6 on Debian
- Linux – conflict in debian packages
- Debian – How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot without errors
- Debian – On Debian, how to audit installed packages against packages in a particular repository
- Ubuntu – debian packages version convention
Best Answer
Open up
/etc/apt/sources.list
, and you should see lines like the following (URLs will likely vary):Simply add
non-free
to the respective URLs you wish to use, i.e.:Running
apt-get update
will update your local repo with the package listing.