Linux Apps You Can Use Without Downloading Linux
Total Page:16
File Type:pdf, Size:1020Kb
linux apps you can use without downloading linux Run Linux GUI apps on the Windows Subsystem for Linux (preview) You can now preview Windows Subsystem for Linux (WSL) support for running Linux GUI applications (X11 and Wayland) on Windows in a fully integrated desktop experience. WSL 2 enables Linux GUI applications to feel native and natural to use on Windows. Launch Linux apps from the Windows Start menu Pin Linux apps to the Windows task bar Use alt-tab to switch between Linux and Windows apps Cut + Paste across Windows and Linux apps. You can now integrate both Windows and Linux applications into your workflow for a seamless desktop experience. Install support for Linux GUI apps. Prerequisites. Support for Linux GUI apps via WSL will become generally available in the next major release of Windows. To access to the preview build of Windows and try running Linux GUI apps now, you'll need to join the Windows Insider Program and run a Windows 10 Insider Preview build from the dev channel. Installed driver for vGPU. To run Linux GUI apps, you should first install the preview driver matching your system below. This will enable you to use a virtual GPU (vGPU) so you can benefit from hardware accelerated OpenGL rendering. Fresh install - No prior WSL installation. If you have not already followed the steps to install WSL, you can use the new simplified install command. Open a command prompt with administrator privileges. Select Start , type PowerShell , right-click Windows PowerShell , and then select Run as administrator . Run this command and reboot your machine when prompted: Once your machine has finished rebooting, installation will continue and you will be asked to enter a username and password. This will be your Linux credential for the Ubuntu distribution. You're now ready to begin using Linux GUI apps on WSL! Existing WSL install. If you already have WSL installed on your machine, you can update to the latest version that includes Linux GUI support by running the update command from an elevated command prompt. Select Start , type PowerShell , right-click Windows PowerShell , and then select Run as administrator . Enter the WSL update command: You will need to restart WSL for the update to take effect. You can restart WSL by running the shutdown command in PowerShell. Linux GUI apps are only supported with WSL 2 and will not work with a Linux distribution configured for WSL 1. Read about how to change your distribution from WSL 1 to WSL 2. Run Linux GUI apps. You can run the following commands from your Linux terminal to download and install these popular Linux applications. If you are using a different distribution than Ubuntu, it may use a different package manager than apt. Once the Linux application is installed, you can find it in your Start menu under the distribution name. For example: Ubuntu -> Microsoft Edge . Update the packages in your distribution. Install Gedit. Gedit is the default text editor of the GNOME desktop environment. To launch your bashrc file in the editor, enter: gedit. Install GIMP. GIMP is a free and open-source raster graphics editor used for image manipulation and image editing, free-form drawing, transcoding between different image file formats, and more specialized tasks. To launch, enter: gimp. Install Nautilus. Nautilus, also known as GNOME Files, is the file manager for the GNOME desktop. (Similiar to Windows File Explorer). To launch, enter: nautilus. Install VLC. VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files. To launch, enter: vlc. Install X11 apps. X11 is the Linux windowing system and this is a miscellaneous collection of apps and tools that ship with it, such as the xclock, xcalc calculator, xclipboard for cut and paste, xev for event testing, etc. See the x.org docs for more info. To launch, enter the name of the tool you would like to use. For example: How to Install Software on Linux. This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 8,725 times. This wikiHow teaches you how to download and install new apps on your computer, using a Linux operating system. In most Linux distributions, there is a dedicated app that comes with a simple graphical user interface (GUI) for installing software on your computer. Alternatively, you can use the Snap tool on any Linux distribution, and install apps via the Snappy package management system. You can also use the Apt package manager on Ubuntu or other Debian-based systems to install software directly from the official repositories. Installing Software on Linux¶ One of the most difficult things to get used to in the Linux world is installing new software packages. In the world of Windows, every program comes with a Setup.exe program that asks you some very easy questions and takes care of the job for you. While Linux software can be almost that easy to install, you will sometimes find software that seems to fight every step of the way. I can’t cover all the problems you might run into, but I’ll try to give you the basics and a few pointers to help get you over the rough spots. Software tends to come in “packages”. In the Windows world a package is a Setup.exe or a program.zip file. On a Mac a package is a program.dmg or a program.sit file. In the Linux world, there are several kinds of packages, and each distribution has its own preferred package format. The standard Linux package format (according to the Linux Standard Base) is RPM . RPM is a packaging system originally developed by Red Hat and widely used in the Linux community. Distributions using it include Fedora, Mandriva, Red Hat (naturally), and SUSE. An RPM package file normally will be named something like program-version-other.rpm. Another popular package format is DEB , the Debian software package. Debian packages and the Advanced Packaging Tool (APT) were the first to introduce several advanced features that are now common, such as automatic dependency resolution and signed packages. Debian packages are used by Debian GNU/Linux (naturally), and distributions based on it, including Ubuntu, Knoppix, and Mepis. A Debian package file normally will be named something like program-version-other.deb. Remember, you will need to become SuperUser to install software. Debian, Ubuntu: APT¶ There is a broad array of tools for working with DEB packages, but the one you will commonly use is apt-get , arguably the easiest of Linux package management tools. apt-get is so easy because it not only keeps track of what packages are installed, but also what other packages are available. It will even download them from the Internet for you (if properly configured). To remove software is just as easy. Although the repositories that contain installable packages might live on the Internet or on a disc somewhere, APT keeps a local database on your hard drive with a list of all available packages and where to find them. This database needs to be explicitly updated. To update the APT database: A common idiom is to update your package database, and then upgrade all the packages that have patches or security updates to install. The following command will do this all at once. For a more indepth apt-get tutorial and other resources, see Managing Software with APT and dpkg . Fedora, Red Hat: yum ¶ yum does for RPM packages roughly what apt-get does for Debian packages. Like apt-get , yum can download and install packages from a configured repository. To remove software is just as easy. yum does not keep a local copy of your package database by default, so normally there is no need to update it. To install all available security patches and bug fixes, use this command: You can also explicitly update a single package with: For a more indepth yum tutorial and other resources, see Managing Software with yum and rpm . Mandriva: urpm ¶ Mandriva Linux (formerly Mandrake and Connectiva) has a toolset similar to APT called urpmi . To install software: To remove software: To update the local package database: To install security updates and bug fixes: For a more indepth yum tutorial and other resources, see Managing Software with urpm . Tar Balls¶ No, this is not a naughty term! A tar ball is a (usually compressed) archive of files, similar to a Zip file on Windows or a Sit on the Mac. Tar balls come in files that end in .tar , .tar.gz , .tgz , or something along these lines. To unpack a tar ball, use this command. The parameters are x to extract files, z to filter through gzip for decompression (leave this off if the file does not have a gz extension), v for verbose mode so you can tell what’s going on, f indicating there will be a filename to follow. You may want to create an alias called “untar” that feeds in these options if you have a hard time remembering command line options as I do. This command will not install the software, it will only extract the archived files. It is your job then to find the README file or INSTALL file and read its instructions for installation. If the archive contains binaries there will usually be a setup script (often called install.sh ) that you must execute as SuperUser .