Ubuntu Software Repository

來源:互聯網
上載者:User

Software Repositories

 

As mentioned previously, dgkg and APT take care of package management within Ubuntu. These tools are taken from teh Debian distribution of Linux, on which Ubuntu is babsed.

Debian Package or dpkg, is the most basic part of the system. It's used to install and uninstall software, and it can also be used to query any individual software packages. It's like the manager in a warehouse who is tasked with knowing exactly what boxes have been stored where.

 

dpkg is aware of dependency issues and will refuse to fully install a package if the others it needs aren't already installed or supplied at the same time. But it doesn't have the means to fix the situation automatically. This is akin to the warehouse manager's inability to order more boxes if he needs them. That's not his job. He'll just tell you if bobxes delivered to him are missing some of their components.

 

Because of this ,there's an additional layer of software that sits on top of dpkg called the Advanced Packaging Tool, or APT. APT is very sophisticated. Its job is to handle dependency management. Try to install some software using APT, and any dependency issues will be worked out for you.

 

APT canl do this because it's designed to work with software repositories. Users can search and install packages from these callections of software. More often thatn not, these software repositories are online, but that's not always the case. The DVD supplied with this book contains the base installation software repository, for example.

It's import to not that APT relies on the dpkg system to take care of the actual installatioin. Effectively ,dpkg and APT are two sides of the same coin.

 

 

Categories of Repositories

 

Regardless of whether they're online or on a CD/DVD, Ubuntu repositories are strictly categorized according to the type of software they contain:

1.Main Distribution.

2.Security Updates

3.Recommended Updates:

4.Proposed Updates:

5.Unsupported(Backport) Updates

 

Categories of Repositories

 

Regardless of whether they're online or on a CD/DVD, Ubuntu repositories are strictly categorized according to the type of software they contain:

1.Main Distribution.

2.Security Updates

3.Recommended Updates:

4.Proposed Updates:

5.Unsupported(Backport) Updates

 

 

e.g.:

sdo apt-get udpate

sudo apt-get install links

sudo apt-get autoremove evolution

 

Installing Packages:

sudo dpkg -i packagename.i386.deb

 

sudo apt-get build-essential

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.