GithubHelp home page GithubHelp logo

sampablo22 / linux-update-script Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 16 KB

Easily update programs and operating system of Debain based operating systems.

License: GNU General Public License v3.0

Shell 100.00%
script debian

linux-update-script's Introduction

Linux-update-script

Easily update programs and operating system of Debain based operating systems.

Supported Operating Systems

Any Debian based distro.

How to

  1. If you haven't already done so create a local bin directory:

    cd ~/
    mkdir bin
  2. Add your bin directory to your path. Edit your .bashrc or .profile file (whichever you prefer, I prefer the .profile) to add in ~/bin to your path.

    This step may not be necessary on if you're using a fairly recent Ubuntu version as they include the ~/bin directory in your $PATH.

    You can check your .profile contains the following:

    # set PATH so it includes user's private bin if it exists
    if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
    fi
    

    If not just add it in.

  3. If required, reboot your computer or force bash to re-read ~/.profile:

    exec -l bash

  4. Change directories to your private bin if you're not there already: cd ~/bin Clone my script from the repository: git clone https://github.com/sampablo22/Linux-update-script.git

  5. Mark the file as executable: chmod +x update_Debian.sh

  6. Make a symlink from the script to the bin folder:

    ln -s ~/bin/Linux-update-script/update_Debian.sh ~/bin

  7. Now you can run the script from anywhere with: ./update_Debian.sh

Issues

If there are any problems please let me know by raising an issue on GitHub and I'll get back to you ASAP. If you have any suggestions for changes please let me know and I'll see if I can implement them.

License

This script is free and may be redistributed and modified under the terms specified in the license.

linux-update-script's People

Contributors

sampablo22 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.