Package management with OPKG
Configuration
opkg configuration file resides here:
/etc/opkg.conf
default file content is:
root@OpenWrt:/# cat /etc/opkg.conf src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ramips/packages dest root / dest ram /tmp lists_dir ext /var/opkg-lists option overlay_root /overlay
Get fresh package list
When you start up carambola you must update package list. Otherwise you will not see many available packages. This list is saved in /tmp, after you reboot package list is erased. You save some precious space on your carambola.
opkg update
Install package
opkg install <package>
Remove package
opkg remove <package>
Remove a package and orphaned dependancies
opkg remove --autoremove package_name
or remove with all dependent packages
opkg remove --force-removal-of-dependent-packages
Get the list of available packages
opkg list
Get the list of installed packages
opkg list_installed
List a package content
opkg files package_name
Alternative package repository
728x90
'엔지니어링 > 임베디드' 카테고리의 다른 글
Ubuntu 20.04에 ROS Noetic 설치하기 (0) | 2021.08.16 |
---|---|
[ OpenCV ] CMakefile 빌드 에러시 해결방법 (0) | 2021.06.09 |
우분투 리눅스에서 Could not get lock /var/lib/dpkg/lock-frontend 에러 해결방법 (0) | 2021.03.14 |
Ubuntu 22.04에 NVIDIA 그래픽 드라이버 설치 (0) | 2020.11.28 |
[PX4 개발자] Ubuntu 18.04에 ROS(Melodic)/Gazebo 설치하기 (0) | 2020.11.25 |
댓글