sudo apt-get update sudo apt-get install build-essential 检查网络连接: 确保您的网络连接正常。如果网络不稳定,APT可能无法访问软件源,导致无法定位包。 通过以上步骤,您应该能够解决“E: Unable to locate package build-essentia”的错误。如果问题仍然存在,请检查您的系统配置或咨询具体的Linux社区以获取帮助。
可以使用以下命令来手动安装gcc: dockerrun-itubuntu:latestbashapt-getupdateapt-getinstall-ybuild-essential 1. 2. 3. 以上命令中的build-essential包含了gcc和其他编译工具。安装完成后,即可开始进行编译工作。 3. 代码示例 下面是一个简单的C程序示例,我们将使用gcc编译并运行该程序: #include<stdio.h>intmain...
I installed a command line version of Ubuntu 10.10 using the alternate install disk. To suit my needs, I have to install the gcc C compiler in this environment. When connected under root, I enter the command: 'apt-get install gcc'. The error 'E: unable to locate package gcc...
please help me and I can put the package available for anyone to use ubuntu@robotsp1:~/QT code/ros_qtc_plugin$ ./setup.sh -ui Install build dependencies: build-essential libgl1-mesa-dev Reading package lists... Done Building dependency tree Reading state information... Done build-essential ...
Unable to locate package texinfo E: Unable to locate package tshark E: Unable to locate package valgrind E: Package 'vim' has no installation candidate E: Unable to locate package xterm The command '/bin/sh -c apt-get install -y automake autopoint bison bridge-utils build-essential cmake ...
The error E: Unable to locate package npm occurs when the Debian repository on your Ubuntu machine cannot find the `npm` package.
sudo apt-get install build-essential libgtk2.0-dev libvtk7-dev libjpeg-dev libtiff5-dev libjasper-dev libopenexr-dev libtbb-dev 1. 报错:E: Unable to locate package libjasper-dev的解决办法 sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" ...
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有...
Done E: Unable to locate Ubuntu-restricted-extras FIXING THIS To fix this : 1. Open Terminal 2. Run the command below for your system to be updated: $ sudo apt-get update After the update has been completed re-run apt-get with the package you were trying to install. For now we ...
E: Unable to locate package ros-melodic-desktop 1. 2. 3. 4. 4.环境配置和依赖 环境 代码解读 echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrc 1. 2. 依赖 代码解读 sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-es...