Can apt-get work in Slackware or other Linuxes? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I know that apt-get is meant to be a packaging manager for Debian. But I'd like to learn if this software can be also ported to different operating systems, especially to Slackware.
I am the author of Slax, a Slackware-based operating system, so I know lots of the internals of a working OS, library dependencies, and so on. From my point of view, installing a debian package to Slackware or other distribution is fairly possible if both the distros share similar libraries, which most Linuxes do nowadays. Slackware, despite it's focus on stability, is usually using recent libraries as like Debian.
As far as I understand apt, it's just an application which tracks dependencies and has a list of mirrors from which to download packages. Unpacking the deb packages is a matter of
ar -x
Most init scripts will be the same if the Sys-V init style is supported. Some of the Debian packages may not work out of the box, especially those which are deeply system-related, like udev for example, but majority of the APPLICATIONS should install and work OK on Slackware in my opinion. I tried Google's official Chrome Browser package for Debian and it works just fine on Slackware.
Are there any drawbacks in porting apt-get to Slackware or other Linux? Did anybody attempt to port it already? Thank you

The package slapt-get is the Slackware implementations of apt-get.
slapt-get install whatever-package
Any way you should be able to compile it on any OS. Of course you might have to do some small changes to the source if the repos structure and files to download are very different.

Related

how to install Mosquitto MQTT on linux server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have to install mosquitto MQTT on Linux server. I searched on internet and found most of the documents explain how to install in on Linux OS or windows OS. My ask is how to install it in Linux server. Which directory, I need to use and how to do?
Linux OS and Linux Server are two similar things. At least on this level of needs which is just installing an application.
At the first I'd recommend you to read some Linux tutorial, at first glance something like this. There you get the knowledge that installing programs into Linux quite depends on Linux distribution you currently use. And, when you are not compiling the source code of a program, you can not usually affect the destination directory - Linux has the different philosophy of folders than Windows and usually you don't install the program to one directory in some root but to many of them (bin, lib, share, ...). But in minority also some installers exists and you can affect the top level destination directory using them. I am not sure what kind of attitude chose Mosquito MQTT.
At the second I've read the Mosquito MQTT Download page and it seems that the easiest way ( ! but I am not sure if the desired in your company environment ! ) is to install snap via the packaging system of your Linux distribution and just run the recommended snap install mosquitto. And if the snap package is build reasonably, you will have your application installed and ready to run and configure.

Is there apt-get install in Buildroot? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Is there apt-get install analog command in Buildroot? I want to install some applicatin but how?
From documentation of BuildRoot:
Buildroot is not meant to be a distribution
(or rather, a distribution generator.) It is the opinion of most
Buildroot developers that this is not a goal we should pursue.
We prefer to push Buildroot in a direction that makes it easy
(or even easier) to generate complete root filesystems. This is what
makes Buildroot stands out in the crowd (among other things, of
course!) We believe that for most embedded Linux systems, binary
packages are not necessary, and potentially harmful.
So, It seems No! you can not do that by using apt. you need to directly add your packages based on documentation
By default in LINUX/UBUNTU Operating system is having apt-get installed so you can directly start using sudo apt-get install [Package Name that you want to install]

What is a Debian based distribution? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm running through an AngularJS tutorial, and in the get started section it says:
In Debian based distributions, there is a name clash with another
utility called node. The suggested solution is to also install the
nodejs-legacy apt package, which renames node to nodejs.
apt-get install nodejs-legacy npm
nodejs --version
npm --version
I don't understand what a Debian based distribution means, even after going to https://packages.debian.org/sid/nodejs-legacy
As a side note, I've used Angular and Node before in other tutorials, so I am not sure if I should follow this get-started part. I'm sort of going with it now because I installed nvm without intending to or understanding what it is for.
Loosely if the Linux distribution is using dpkg and using the apt package manager you could consider it a Debian Based distribution ie Debian/Ubuntu. There are quite a few, you can see a list here...
https://www.debian.org/misc/children-distros
Wikipedia has a good page with more details on Linux distributions. The Debian list can be found here...
https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based
It's worth clicking on the image to see just how many distributions Debian has spawned.

How do I install to my Linux laptop a software project hosted on git? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
How do I install, to my Linux laptop, a software project hosted on GitHub? I am not attempting to set up a project/repository myself. My intention is to download a project, in order to use/execute it. What is the name of this process? How is it done? If it helps, I am trying to install the command line interface for Last Pass. Their instructions seem to only assist me with downloading the dependencies. Downloading the zip file just provides a folder filed with random files. I am used to installers, so perhaps I am missing some steps that would aid my understanding.
This is off-topic for StackOverflow, as it's not about programming. It also has nothing to do with git, you just got the files from github, but git has nothing to do with installing it.
The first thing you should do is check if the software is available already from your Linux distribution, using the system's software management tools. Installing it from there will be simpler and will mean the software gets updated automatically in future.
If it isn't packaged by your distro, and the project don't provide binaries, then you may need to build the software yourself. Among the files you cloned from github should be a README or INSTALL file with instructions on building and installing it.
Typically this involves running a configure script, or maybe cmake, to set up the build process correctly for your computer, then running make and make install.
Depending whether you want to install it just for your user or system-wide you might need to run the configuration step with an option specifying where to install to.
Depending on the programming language used you might need to install some additional tools, such as a compiler and linker. These will definitely be available from your distro's software management tool.

Linux/Debian based application won't compile [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My question is related to my grade project. Its about mobile video transmission using DVB-H link layer. Its a comprehensive project itself, and there are separate parts. I mainly construct system in Matlab Simulink, but there is one part, responsible for encapsulation/decapsulation of the stream packet, which was designed in Linux environment.
I didn't want to install new OS just for one application, so I run Linux on VMware Player as a virtual machine. So here is my problem - the applications (for encapsulation and decapsulation) won't compile (install) completely. I see mainly missing library problems. I tried to install necessary libraries, but the original application still couldn't see some of them. I feel like I'm missing something small, but clear to rather experienced Linux user. Here is the link to the programs
http://sp.cs.tut.fi/mobile3dtv/download/
"DECAPS - DVB-H Decapsulator Software" is the one (and FATCAPS link is there).
I couldn't find alternative encapsulator/decapsulator in for Windows environment. Its my last and only choice. If please some of the Linux users could try to run them in Linux environment, maybe its because I'm using virtual machine? Its also noted that the application was designed for Debian based systems, but I also did install Debian as a virtual machine and application won't even configure. Please help, guys, I'm really stuck here.
You'll probably need to install the development versions of the libraries -- under Debian, the'll be named the same as the original package, but with a "-dev" suffix.

Resources