In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to use AppImage for Linux software package management, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Use AppImage
I'm fully committed to AppImage. Like other package management systems I mentioned, there are a lot of complex features that you can use if you need them. But, in essence, AppImage is very simple. Unlike most other package managers, AppImage works through the warehouse, it uses a single, separate file that can be sent directly or shared through a Web site.
Here is an example of how wonderful it is. When I was using AppImage, I saw an old discussion in a technical forum that led me to an equally old and abandoned GitHub project and related YAML and recipe documents. They are designed to automate the construction of a fairly complex infrastructure needed to prepare to generate AppImage packages. Although the infrastructure was all built on the Ubuntu version five years ago, when I put them together and ran the appimagetool command, it created an AppImage file that ran seamlessly on my current desktop. I don't think there are many five-year-old GitHub complex projects that can be run using other technologies without having to seriously redo them.
But I won't introduce this case here. Instead, I'll use a simple Hello World program to show you how it works. First, make sure that the AppStream package is installed locally.
For Debian-based systems, run:
$sudo apt install appstream
For RPM systems, use:
$sudo dnf install appstream
Clone the Git repository mentioned in this article, and I'll base it on an example:
$git clone $cd appimage-resources$ ls hello-world-appimage
Next, use cd to enter the newly created directory of Git. There are two directories here. Please use hello-world-appimage. The other is a more complex project, and you should also consider giving it a try.
The Linux GUI system reads the helloworld.desktop file to know how to render desktop icons. It turns out that the current file will cause you some trouble in the future, so please make some minor changes: add the line Categories= and assign it the value GNOME. Don't forget the last semicolon:
$nano hello-world-appimage/helloworld.desktop add Categories=GNOME
Download the appimagetool precompiled binaries from the AppImage GitHub project. One of the reasons to visit GitHub: there are many excellent documents and resources there. After downloading the binary, make the file executable and pass the hello-world-appimage directory to it. But first, you need to tell it the architecture you want. For some reason, a tool whose name ends with x86'64 can't decide on its own whether to use x86'64 to build an application (I don't know what's going on).
$wget $chmod + x appimagetool-x86_64.AppImage$ ARCH=x86_64. / appimagetool-x86_64.AppImage hello-world-appimage
If you don't see any error messages, then you're done, run:
The above $ls$. / hello-world-appimage-x86_64.AppImage is all the contents of the article "how to use AppImage for Linux package Management". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.