AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mac terminal bash sudo command not found1/15/2024 ![]() ![]() Or with jruby, rails and puma: \curl -sSL | bash -s stable -ruby=jruby -gems=rails,puma ![]() Install RVM stable with ruby: \curl -sSL | bash -s stable -rubyĪdditionally with rails (poor man's railsinstaller): \curl -sSL | bash -s stable -rails Install RVM (development version): \curl -sSL | bash If you need a different (newer) version of RVM, after installing base version of RVM check the Upgrading section. RVM have dedicated Ubuntu package, so please follow instructions posted here: In case you encounter an issues check security ∞Basic install ∞Ubuntu The basic requirements are bash, curl, gpg2 and overall GNU version of tools - but RVM tries to autodetect it and install anything that is needed. If you’re still facing issues with PPAs, this detailed tutorial will help you.RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). I hope this quick tip helped you fix the “add-apt-repository: command not found” error on Ubuntu and other Debian-based Linux distributions. Note: If you see an error saying software-properties-common command not found, you should run sudo apt-get update and then try to install it again. You can now comfortably use add-apt-repository or apt-add-repository commands to add PPAs. Once you’ve installed software-properties-common, you should update the system using this command: sudo apt-get update Processing triggers for dbus (1.12.2-1ubuntu1). Processing triggers for man-db (2.8.3-2). 265950 files and directories currently installed.) Selecting previously unselected package software-properties-common. Get:1 bionic-updates/main amd64 software-properties-common all 0.96.24.32.5 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 197 kB of additional disk space will be used. The command’s output will be something like this: Reading package lists. So open a terminal and use this command: sudo apt-get install software-properties-common It’s because the add-apt-repository command is part of package software-properties-common and you need to install this package in order to install add-apt-repository. The package add-apt-repository is not installed on your system.īut if you try to use sudo apt-get install add-apt-repository, it won’t work. Fix add-apt-repository: command not found error Let’s see how to fix this annoying error. Sudo: add-apt-repository: command not found In Debian, elementary OS and sometimes on Ubuntu, you’ll see the error that the add-apt-repository command is missing. If you want to add a new PPA repository, you’ll have to use the add-apt-repository command in the following fashion: sudo add-apt-repository ppa:some/ppa One of the many ways to install software on Ubuntu or Debian is to use a PPA ( Personal Package Archive). This quick tutorial shows you how to quickly fix the “add-apt-repository command not found” error on Debian, Ubuntu and other Debian-based Linux distributions. ![]()
0 Comments
Read More
Leave a Reply. |