![]() ![]() ![]() Order only matters if multiple sources have the exact same version (first APT determines which version to install, then it uses the first listed source that has this version). Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Unable To Locate Package Testdisk Update Again And Add the main online repository: edit etcaptsources.list (as root, e.g. This is free software see the source for copying conditions. You should see something like: gcc (Debian 4.6.3-14+rpi1) 4.6.3Ĭopyright (C) 2011 Free Software Foundation, Inc. Check to make sure afterward with gcc -version. As it so happens, the current default on raspbian is 4.6, so just plain: apt-get install gcc We just need to make sure we get at least version 4.6 the list returned from the last search (which I omitted here) contains reference to 4.4 through 4.7. In this case, the target is the same as the base system, so we can assume that the normal compiler will work in this case (it would have been good if you had included a link to the instructions you are following). "arm-linux-gnueabi" is actually a tuple used to identify the target of a compiler. The same regexp trick might work (just plan search gcc will return way too much again): apt-cache search gcc | grep "^gcc"Ī single screenful, which is easy to glance over. Is that a typo in the configuration That line is pasted directly from the termina. For "gcc-4.6-arm-linux-gnueabi", we could try apt-cache search gcc | grep gnueabi - but that returns nothing. Follow the instruction from the installation page on podman.io use apt install command: Something to note, the label: 'conmon/' above. This limits us to a more manageable 30-40 hits, the first of which is: git - fast, scalable, distributed revision control system However, if we filter via grep (see man grep), we can apply a regular expression so that only packages with "git" at the beginning of their name are returned: apt-cache search git | grep "^git" We could broaden the seach by using just git, but this returns more than 500 results. ![]() It's not always obvious why the search returns the things it does, but in any case, here we have confirmation that git-core exists and is available, although there is the note that it is obsolete. Git-core - fast, scalable, distributed revision control system (obsolete) Git - fast, scalable, distributed revision control system apt-cache search will provide a list matching a string, for example > apt-cache search git-coreĭevscripts - scripts to make the life of a Debian Package maintainer easier Unless you are certain of what you want to install, it is usually a good idea to see exactly what is available first. As RPi Awesomeness points out, run apt-get update and then apt-get upgrade before you do anything.Īpt-get is part of the Debian package management system used on, e.g., raspbian. ![]()
0 Comments
Leave a Reply. |