Placeholder Image

Subtitles section Play video

  • now every Lee next distribution has at least one or maybe more official repository and may have some other third party report depending upon the distribution off Lennox you're using now.

  • These repo contain collection off software packages building compiled specifically for that distribution off Lennox.

  • The package managers like Amped Yem or PAC Men, are used to download and install packages from these repertory onto your system by default Package Manager.

  • Download packages only from this table.

  • Rep.

  • Oh, which contains table but older version off software packages.

  • Other rappers, like testing unstable experimental ex cetera, may contain additional packages that are either not available in the stable.

  • Rep.

  • Oh, or they are off latest version than that off the stable.

  • Rep.

  • Oh, now you can download packages from any rip off your choice by a very simple process called AB Depending.

  • And today's video is just about that.

  • So hey, guys wants up.

  • Welcome to experience Tech.

  • I'm beneath and in today's video will understand how to don't know the software package from any rip off your choice with don't shifting your entire operating system to a new branch like testing or unstable now, for the purpose of demonstration.

  • I'll be using their being new Lenox, which has apt as its default package manager for other linens distribution they do not have apt installed by default.

  • The process may differ slightly, but you always have the option to install APP package manager on majority off the next distribution out there.

  • All rights of the dance said Let's begin today's video.

  • All right, so here I am.

  • On the latest version off Debian grew Lennox, which is version 8.1 court named Jesse, Not the configuration.

  • Find that apt uses to download packages from the represent.

  • Torey is the sources Dart List file, which is under etc.

  • Apt.

  • All right, so let's browse Sue at sea, apt.

  • And as you can see under this, you have a file named Sources Don't list No.

  • Before we open this file up, let's quickly changed to route because you need root privileges in order to make changes to this file.

  • Okay, now let's open.

  • Sources don't list now.

  • This is the default and trees in the sources dot list file.

  • Now the 1st 2 lines are for those wants to install a softer package from your C drive.

  • I do not reuse CD to install packages.

  • So let me commend the second line so that AB does not read this line.

  • Now let's go to the third line and take a closer look.

  • The first word is Deb, which indicates that this repositories condemned Debian pre compiled packages.

  • You can also have Deb Dash SRC, which is Libyan source.

  • This indicates that the depository contained source files which can be used to make changes to the packages and then re compiling those packages.

  • All right, so I do not warrant the source files.

  • So let me commend this line also.

  • All right.

  • Next is the you Earl off the repository.

  • Now you can check the complete list off repertory along with its mirror sites by going to this website, which is debian dot org's slash mirror daughter list.

  • Now, depending on the location where you reside, you can use any off the Ural off your choice.

  • All right, let's go back to the terminal.

  • The next is De Branch.

  • Jesse indicates that it's the stable brunch.

  • You can also have testing unstable experimental in place off Jesse.

  • Then you have mean con trip or you can also have known free no main indicates that it contains those packages that complies to Debian free software.

  • Guideline contract contains those packages that do comply to the bean freeze on Ferg Island, but they have dependencies on.

  • Are there non free packages?

  • And then you can also have Norn Dash free, which indicates those packages that do not comply to there being free software guiding or that this is your sources that list Fine.

  • Let's exit by saving the changes type.

  • Why press enter?

  • All right now, after you make changes, it's very important to run this command apt.

  • Get update this will abd each your package manager index press enter All right.

  • Suppose we want to install chromium browser on our system now.

  • First, let's check which version off chromium is available to do that type apt CAF policy chromium and press Enter now, as you can see installed is none.

  • So we do not have chromium installed.

  • We have the browser under a stable repo.

  • That version number 44 point or 240 tree.

  • Now what if we want to check if a new version is available in the testing or unstable ripple and install that version?

  • Insert off this old abortion.

  • To do that, we need to do two things we need to make changes to sources Dart List file and then we also have to create a preference is fine.

  • Now let's go about doing this first, let's go to our sources Don't list, find and make necessary changes.

  • So let's open the sources Don't list file.

  • No.

  • Here.

  • Let's include our testing as well s over unstable branch.

  • So type in Deb give a space and for the u.

  • R l Let's go to the Debian website and copy this You're a We're going to use United States So it's ftp don't us don't debian orc slash champion So let's go back door terminal and type in s u T p Colon FTP don't us don't Tibby in don't work, slash debian and then type in testing for testing report mean and let's include Contra bowls.

  • Similarly, for the unstable you the same mural ftp dot us Dante bian don't argh slash debian slash unstable mean con trip.

  • Let's exit Save changes.

  • Yes, and now let's again run Apte get update to update our package manager index.

  • All right, Next is to create a preferences file so I have already created it.

  • Let's go to home experienced check documents and under this I have a preference is fine.

  • Let me open it up in a Nano, a text editor.

  • All right, let's discuss the entries in preference is the first line is package, which is given as star.

  • This indicates all the packages.

  • Next is pin.

  • We have been to release and given equal the testing.

  • So it tells that the release should repent to testing.

  • And then we have given a pen priority, which is 600.

  • I can give it any number, but it should be below 1000.

  • The higher the number, the greater the priority off that branch.

  • All right, so 600 is for testing.

  • That means that if a package is available in all the branches, then by default little download and install the package from the testing branch because it has a greater priority.

  • Similarly, we have a package up into a stable branch and then the third part we have up into a unstable branch which is given a priority as to wonder which is the least priority out here.

  • But this is our preferences file.

  • Let's exit from here and let's copy this preferences two hour at sea.

  • Apt directory.

  • All right.

  • No, let's go to its He amped and we have our preferences filed out here.

  • Now let's again run.

  • Apt!

  • Get update.

  • And now, if research for chromium browser apt Cash policy.

  • Chromium.

  • As you can see, we have the options available from all the branch.

  • So in unstable, we have version 44.2403 dot 157 in the testing branch, we have the option off.

  • Wonderful.

  • And in the stable branch, we have 89.

  • And also, if you look here, we have the been Priety, as we have given in our preferences Fire.

  • The 300 is for stable, 200 is for unstable and 600 is for testing Branch not to install a package from the EPA.

  • Rafiah, choice.

  • All you have to do is type inapt.

  • Get then you can give the Dashti option and give the branch you want.

  • So if I want to install it from, let's say unstable bronze.

  • So I type in unstable and then typing Install chromium.

  • This will start installing chromium browser from the unstable branch.

  • Let me discontinue from here.

  • Now again, If you want to install it from the testing branch, you can just type in testing.

  • This will install chromium from the testing branch.

  • All right, let me exited from here.

  • All right, so that was also today.

  • I hope now you're comfortable.

  • Vidi represent the next depository And how to install a package from any Lenexa depository off your choice.

  • But thank you guys for watching this.

  • Ahhh!

  • You shoulder to all these subscribers off expense.

  • Tak channel.

  • If you like this video kindly present.

  • Like Britain.

  • If you have any comment, a cessation, please.

  • Time that an indie comment box and thank you guys for watching.

  • I'll see you next time.

now every Lee next distribution has at least one or maybe more official repository and may have some other third party report depending upon the distribution off Lennox you're using now.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it