We need to modify the sources.list file under /etc/apt/sources.list to replace Debian 8 repositories with 9 one. Sudo apt-get dist-upgrade Add Debian 9 Repositories These steps help make sure you have the latest and best-patched version of the software and since they are latest, they are compatible with new OS. Update Package Manager and Repositoriesįirstly, we need to remove all outdated software then update all software, including the Debian OS, to the latest version. Don’t upgrade 8 to 10 directly! Furthermore, test your upgrade on test environment first because there is a chance that it may destabilize your system. It is recommended to upgrade current OS to next major version, i.e. lsb_release -dĭescription: Debian GNU/Linux 9.13 (stretch) Upgrade Debian 8 to 9 To get minor version of the Debian OS, you can use lsb_release -d. The output of the command is as below: PRETTY_NAME="Debian GNU/Linux 9 (stretch)" You can simply check the version by using the following command: cat /etc/os-release How to Check Debian Version with Command Line Upgrade Debian 9 (Stretch) to 10 (Buster).Update From Debian 8 (Jessie) to 9 (Stretch).Update Package Manager and Repositories.How to Check Debian Version with Command Line. I hope you found this beginner tutorial helpful. I have covered some different ways you can quickly check the version and name (as well as the Ubuntu base and kernel) of the Linux Mint release you are running. Here you can see both your operating system (including version number), your kernel and the version number of your DE: System Info Open up the Menu (bottom-left corner) and then go to Preferences > System Info: Linux Mint MenuĪlternatively, in the Menu you can search for System Info: Menu Search System Info As you would expect, this one is pretty straight-forward. If you are not comfortable with the terminal and commands, you can use the graphical method. Check Linux Mint version information using GUI Note: -r stands for release, however you can check the other flags with man uname. If you only want to see information about the Ubuntu base, output /etc/upstream-release/lsb-release: cat /etc/upstream-release/lsb-releaseīonus Tip: You can just check Linux kernel version with the uname command: uname -r Use /etc/upstream-release/lsb-release to get only Ubuntu base info Os-release is yet another file similar to info, showing you the codename for the Ubuntu release your Linux Mint is based on. Knowing which Ubuntu version your Linux Mint release is based on is helpful in cases where you’ll have to use Ubuntu codename while adding a repository like when you need to install the latest Virtual Box in Linux Mint. Each Linux Mint release is based on a different Ubuntu release. Use /etc/os-release to get Ubuntu codename as well /etc/os-release Simply use cat command to print it’s contents to your terminal and see your Release Number and Codename. This isn’t a command, but rather a file on any Linux Mint install. Note: I used the – a tag to print all parameters, but you can also use -s for short form, -d for description etc. Lsb_release is a very simple Linux utility to check basic information about your distribution: lsb_release -a You can see your Operating System (with version number), as well as your kernel version.3. This single command ( hostnamectl) prints almost the same information as that found in System Info. Starting out with the simplest CLI method, you can print out the contents of /etc/issue to check your Version Number and Codename: cat /etc/issue The last two entries in this list also output the Ubuntu release your current Linux Mint version is based on. You can open up a terminal from the Menu or by pressing CTRL+ALT+T (default hotkey). I’ll go over several ways you can check your Linux Mint version number and codename using very simple commands. Ways to check Linux Mint version number using terminal
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |