how to install Mosquitto MQTT on linux server [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 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.

Related

Debian 11 how to Install GNOME after Install by bootstick [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 made a mistake during the installation of Debian 11. My plan was to run Debian next to Win10 by using Grub2 but installed Debian high secure LVM which overwrote my notebook's complete Harddisk. I am completely new to Linux so as you can imagine I struggle hard because I only have a "DOS-style-Terminal". The Debian 11 .iso ist only 3xx mb large and I wonder if i am able to install Gnome from the given Terminal. Some sources mentioned Gnome could be part of the .iso .Is it true? Do I have a chance to process? If not I concidered to add a folder on the bootable USB stick, add something like "gnome.deb" and try to progress this way. I dont have internet in my Asus Vivobook model M712D because of missing"RTW88......" which makes my situation even worse but can access the internet by my Smartphone. In the end I want to install vscode to progress at www.freecodecamp.org using Debian instead of Kali for advanced Linux learning and future operations. I am sure this is a topic to discuss, I cant imagine I am the only one struggling on this issue. Many Windows user gets prevented from using linux by this issue .
The small size of the image indicates that you probably used the Network Install image. This minimal image does not feature desktop environments. Your options are:
Download an image that features a desktop environment (complete installation image, see here) and reinstall Debian using this image.
Install the desktop environment yourself. To do that, you could try sudo apt-get update && sudo apt-get install task-gnome-desktop. This, however requires an internet connection.

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.

How to make a program user directly comes into when turns on PC? [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
I want to build a gadget with PC-boards like raspberry and Linux(or Windows) OS. And when user turns on the gadget sees my company name, and directly goes to my program and couldn't exit from that.something like ATM machines.
How can I do that?
What is this topic name and where can I find sources and guides?
You can hard-code your user-space process to run after bootup by updating the init script. You can run it as a daemon process and block all signals to it by the user. You can further disable other services and application processes like login process if you want the application to be accessed by everyone.
Link: Creating a Kiosk with Linux
On Linux, you just configure the system to run your specialized program. This can be as simple as configuring (e.g. in some /etc/rc.local or /etc/rc.2/ ...) (or even replacing or enhancing) the init program, or configuring the startup of the X11 server.
There are also several "kiosk oriented" Linux distributions. Details about configuration of the init process may be distribution specific. And systemd is now often a replacement of init and is configured specifically.
So you need first to choose some Linux distribution then dive into its documentation.
BTW, crontab(5) knows about #reboot so can be a way to customize the startup procedure
You first should learn more about Linux programming and its system administration (which is distribution specific). If you don't know Linux, I strongly suggest you to install Linux on your laptop and become familiar with it.
Maybe you should look into raspbian
Have a look at the current issue (#93) of the fullcircle magazine (as pdf or epub available). It contains an article about how to install a kiosk mode for ubuntu. It should be easily adoptable to your usecase (replace your app with firefox as mentioned in the article).
Disclaimer: I'm the founder of the opensource Webconverger Web kiosk project.
Debian based Webconverger uses the inittab to manage services. I highly recommend you work from the opensource Webconverger project and do not roll you own kiosk.
The new version of Webconverger for Rpi2 and PCs will be using systemd exclusively.

Can apt-get work in Slackware or other Linuxes? [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
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.

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