How to install clang on linux device? [closed] - c

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 tried using these codes as below
~ $ sudo apt-get install clang-3.5
and it showed something like this
[sudo] password for comp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
clang-3.5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 167 not upgraded.
but when i try to use clang it shows something like this
~ $ clang
The program 'clang' can be found in the following packages:
* clang-3.3
* clang-3.4
* clang-3.5
Try: sudo apt-get install <selected package>
please help .

Its called "clang-3.5" like it says
Try:
$ clang-3.5
If you want to just type clang you can
$ sudo ln -s /usr/bin/clang-3.5 /usr/bin/clang
Also on a side note you have updates available.
Also stackoverflow is not the right forum for this questions

Related

Install SQL Server on Mac os [closed]

Closed. This question is not about programming or software development. 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 10 hours ago.
Improve this question
I have a question that I can't use either from the installing part of npm
npm install -g sql-cli, sudo npm install -g sql-cli those command when I enter it it shows me a npm not found can anybody help me with this step.
I follow from the website and youtube
https://builtin.com/software-engineering-perspectives/sql-server-management-studio-mac
https://www.youtube.com/watch?v=glxE7w4D8v8
If anybody knows about this please help.

Install MSSQL On Ubuntu 16.04 [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 4 years ago.
Improve this question
I am attempting to install MsSql on Ubuntu 16.04, but when I run sudo apt-get update this error is thrown
Malformed line 1 in source list /etc/apt/sources.list.d/mssqlserver-list (type)The list of sources could not be read.
If I run the command lsb_release -a I get this output
Ubuntu 16.04.4 LTSXenial
And I am attempting to follow this guide - which shows it should work on this version...
SSMS on Ubuntu 16.04
What am I missing here?
EDIT
If I run the command vi /etc/apt/sources.list.d/mssqlserver-list
This is what is shown
<html><br>
<head><title>404 Not Found</title></head>
<br><body bgcolor="white"><br>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center><br>
</body><br>
</html>
The file /etc/apt/sources.list.d/mssqlserver-list is meant to contain a link to where the installation file will be downloaded from.
Following the link of the installation guide that you mentioned above, this command sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)" is meant to serve that purpose, and when you check your /etc/apt/sources.list file, you should see the following line deb [arch=amd64] https://packages.microsoft.com/ubuntu/16.04/mssql-server-2017 xenial main or something close to that.
To remedy your error, delete the file you mentioned above using command
sudo rm -rf /etc/apt/sources.list.d/mssqlserver-list
then run the sudo apt-get update again.

In Git for Windows Bash, how to install "get-apt" and "sudo" and all those basic commands? [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 was working mostly on Mac, so I have no idea about how to set up git environment on Windows 8.
Today, I was going to start AngularJS on my Windows Machine. On tutorial, I saw it requires git, and I downloaded the "Git for windows", called "MINGW64".
On tutorial, it asked me to use command:
apt-get install nodejs-legacy npm
nodejs --version
npm --version
Then, the bash told me
bash: apt-get: command not found
I was confused and thought the apt-get is a pre-installed thing, so I changed the git setting and re-installed it with all different settings. It still the same.
And I am so surprised that "sudo" is not found as well.
Next, I searched online and had many vague answer which directs to the path, I think that might be the issue, but the person did not clearly say how to solve it. I was hoping can get some help from Stack overflow community how can I install the apt-get and other basic commands packages on git for windows.
If it is a duplicate, please guide me a bit how to use the correct words to mention this issue. I have tried "git for windows has no apt-get", etc on Google, and no luck for me. This has bothered me whole night. Thanks!
Link for AngularJS Tutorial
Link for git for windows
Update
With WSL, It's now possible to run a complete Linux system, like Ubuntu, inside Windows. and one can install everything, including Node and Git there in the WSL Linux. Just like Sarah Cooley pointed in the other answer from her.
Pre-WSL Answer
If you want Node.js and npm on Windows, you can download them from nodejs.org, apt-get is for Linux (Debian based). Here's a guide.
And Git for Windows is a Windows based Git distribution, it's a separate project from Node.js, and it provides a limited set of linux-like CLI tools compiled natively for Windows.
If you setup PATH correctly, you can indeed run node commands in the Bash shell of Git for Windows.
The entire Ubuntu user mode (including BASH) now runs on Windows. Apt-get node etc all work. Check it out. Docs here.

Broken vanity-gen program on OSX [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I can't get Vanitygen to compile.
Is there a way to install an older version of openssl and make (compile) the program with it?
Or can someone who has an older version of openssl simply compile it for me and give me a link for it?
Are there any other ways to get this program to compile for me on OSX?
Thanks.
Can someone please make me a precompiled vanity-gen program on OSX?
You should try here:
http://www.rentacoder.com
http://www.freelancer.com
It would compile fine if only I had a slightly older version of openssl.
You can get any version you like: OpenSSL source code, tarballs.
I can't compile because I have the latest version of openssl.
You should fetch an older version of OpenSSL.
Is there a way to install an older version of openssl and make (compile) the program with it?
Yes, there is!
$ wget http://w.tar.gzssl.org/source/openssl-0.9.8y
$ tar -xzf openssl-0.9.8y.tar.gz
$ cd openssl-0.9.8y
$ ./config shared --prefix=/usr/local/ssl-0.9.8
$ make all
$ sudo make install
You might need to add export CFLAGS="-fPIC", but I don't recall. Do it right before you execute config.
Then, add /usr/local/ssl-0.9.8/include as an include directory; and add /usr/local/ssl-0.9.8/lib as a library directory.
Here's what it looks like on my Debian machine:
$ ls /usr/local/ssl-0.9.8/lib/
engines libcrypto.so libssl.a libssl.so.0.9.8
libcrypto.a libcrypto.so.0.9.8 libssl.so pkgconfig
Are there any other ways to get this program to compile for me on OSX?
OS X is another can of worms (or can be another can of worms). Once you have a version of OpenSSL installed that suites your taste, come back with configuration problems for vanity-gen.
For Mac OS X, I believe you can perform the following:
$ export KERNEL_BITS=64
$ ./config ...
If you don't export KERNEL_BITS, I believe you get a 32-bit configuration by default.

FATAL: Module fusion not found [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to build Linux Fusion for DirectFB. I downloaded it from directfb.org .
The steps are described in README. They are asking for modprobe fusion after make and make install.
When i run this command i get the error:
Module Fusion not found.
What are possible issues and how can I resolve them?
I think you have followed all steps
http://www.directfb.org/downloads/Core/linux-fusion/README
and now still you getting that error it means
your make and make install were not successful. Do you see any error messages on terminal after running make or make install?
If make and make install were succusfull then modeprobe fusion should work
Edit from chat discussion
Using
modprobe fusion
will try to find fusion.ko in /lib/modules/$(uname -r) but some how .ko was not there or not working after make install so
tried with
cd go_in_fusion_directory
insmod fusion.ko
worked fine...!!

Resources