Beginner’s Guide To Ubuntu Package Management

 Ebook Details

Title: Beginner's Guide To Ubuntu Package Management Author: Ade Malsasa Akbar Publish date: January 25th 2017 License: Creative Commons Attribution-ShareAlike 3.0 Cover artwork source: warty-final-ubuntu.png from licensed under CC BY-SA 3.0 by Ubuntu community contributors Difficulty: beginner Pages: 38 Fonts: Liberation Serif, Liberation Sans, Liberation Mono Production: this ebook produced with LibreOffice on Ubuntu Original website:

2

Author's Preface

Dear all UbuntuBuzz readers, Thank you for reading this free ebook! This ebook is a collection of 4 series of articles in UbuntuBuzz website about Ubuntu Package Management. This ebook is written for beginners so that they can do daily tasks by just reading a short ebook. I hope this ebook will be very easy to understand for anyone. However, the original sources of 4 series are here:

1. 2.

commands.html 3.

settings.html 4.

party-repository.html This ebook is licensed under CC BY-SA 3.0, that means every person receives a copy of this book has the rights to read, copy, download, print, edit, remix, translate, share with or without editing, share with or without any price, as long as the person gives proper attribution to the author and licenses the re-distributed book under the same license. Hereby, I express a big gratitude to the UbuntuBuzz owner, Mr. Mahmudin Ashar. Without Mr. Mahmudin Ashar's guidance, I can not push further this beginner's guide ebook about Ubuntu. Finally, I apologize for any mistake in this ebook, I hope anyone can come to give feedback and correction. I am glad if anyone can contact me by email to teknoloid@. Above it all, I wish this book will be useful for anyone of you.

Best regards, Ade Malsasa Akbar

3

Table of Contents

Ebook Details.......................................................................................................................................2 Author's Preface...................................................................................................................................3 Part 1: Basic Dpkg Commands.............................................................................................................6

Reading Conventions.......................................................................................................................6 1. List Installed Packages.................................................................................................................6 2. Install Package.............................................................................................................................7 3. Remove Package..........................................................................................................................8 4. Purge Package .............................................................................................................................8 Getting Help.....................................................................................................................................9 Part 2: Basic Apt-Get Commands.......................................................................................................10 Package..........................................................................................................................................10 How APT Works............................................................................................................................10 Important Database........................................................................................................................11 1. Reload........................................................................................................................................11 2. Install..........................................................................................................................................11 3. Remove......................................................................................................................................13 4. Upgrade......................................................................................................................................14 5. Dist-Upgrade..............................................................................................................................15 6. Download Only..........................................................................................................................16 7. Simulate.....................................................................................................................................17 8. Add Repository..........................................................................................................................18 9. Print Uris....................................................................................................................................18 10. Always Yes...............................................................................................................................19 Part 3: Basic Sources.list Settings......................................................................................................21 1. Repository..................................................................................................................................21 2. Ubuntu Repository "Rooms".....................................................................................................21 3. Ubuntu Repository "Channels".................................................................................................21 4. Ubuntu Codenames....................................................................................................................22 5. Mirror.........................................................................................................................................22 6. Sources.list.................................................................................................................................23 7. Sources.list.d/.............................................................................................................................23 8. How To Read.............................................................................................................................23 9. How To Edit...............................................................................................................................24 10. Sources.list General Structure..................................................................................................25 11. Sources.list General Structure, Simplified...............................................................................25 12. Sources.list General Example..................................................................................................26 13. Disabling Repository Component............................................................................................26 14. How It Looks...........................................................................................................................27 15. Source Code Repository..........................................................................................................27 16. Enabling Source Code Repository...........................................................................................28 17. Summary..................................................................................................................................28 References......................................................................................................................................29 Part 4: PPA & Third-Party Repository................................................................................................30 1. What Is Repository?...................................................................................................................30 2. What Is Third-Party Repository?...............................................................................................30 3. What Is PPA?.............................................................................................................................30

4

4. Do You Need PPA?....................................................................................................................30 5. Maintain PPA Addresses............................................................................................................31 6. Find A PPA.................................................................................................................................31 7. Add A PPA Address as Sources.list............................................................................................32 8. Add PPA Manually.....................................................................................................................32 9. Add PPA via Special Command.................................................................................................35 10. Install Software from PPA.......................................................................................................35 11. Comparing Package Versions...................................................................................................36 12. Remove PPA Address Automatically.......................................................................................38 13. Remove PPA Address Manually..............................................................................................38 14. Remove Software Packages from PPA....................................................................................39 Additional Information..................................................................................................................39 References......................................................................................................................................39

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download