How Do I Update My Ubuntu Repository?
Contents

How do I update my Linux repository?

Add Packages from Another Repository

  1. Run the dpkg command to ensure that the package is not already installed on the system: [email protected]:~$ dpkg -l | grep <name of package>
  2. If the package is installed already, ensure it is the version you need. …
  3. Run sudo -E apt-get update , then install the package and upgrade:

How do I update repository?

Update, then Work

  1. Update your local repo from the central repo ( git pull upstream master ).
  2. Make edits, save, git add , and git commit all in your local repo.
  3. Push changes from local repo to your fork on github.com ( git push origin master )
  4. Update the central repo from your fork ( Pull Request )
  5. Repeat.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest