How to install apt-get? - terminal

I need to install apt-get for terminal because then I have to install raspi-config to launch my raspberry pi. I'm relatively a beginner so I would appreciate it if you would type the exact code for me. I do have apt

So obviously you are not really knowing what you are doing, this is not a insult. If you are a total beginner try to look into NOOBS image for raspberry.
Installation and rest is easy and widely documented. Because you will face some more problems and if the you start from scratch it makes it pretty hard for you to make progress.

Related

Why do I have to use 'arch -arm64' before brew terminal commands on m1?

I am literally fighting for my life to get this machine setup for react native development. There have been crazy amount of problems and brew install do not work without arch -arm64. Is this a problem? Why is this?
PS: I am new to mac OS
Its just a question for knowledge
I encourage you to take a look at this repo, mac-dev-setup. All the formulae are pretty well maintained in the homebrew-core.
If you have further doubt, you can also raise in the discussions to get quicker response.

Is it possible to create a python wheel from conda package?

Im facing the following situation:
1. I wish to use TF 1.12 with MKL on windows
2. I have to use pip (our system supports only it so far)
problem is that currently Im unable to compile TF1.12 on windows (only on linux..).
I found that Conda has it right out of the box! so I was thinking
"hmm lets take it from Conda, probably someone has thought about it :)"
never the less, havent find any package or program that can do it, so I've decided to use Stack-overflows' power to look for the solution.
any help in this subject would be really appreciated

How to cleanly uninstall anaconda via terminal. I am having trouble getting coremltools to found as a module in Spyder

Image of installed Anaconda Directories OK, long story short. I just started learning about CoreML for iOS. So from what i gathered, theres only about 4 trained models on Apple's website. In the search of some more robust models, i found Caffe was a hugely mentioned one. You need to use python to be able to translate some of these other 'external' models. I installed Anaconda via the continuum website for mac and am using the only supported 2.7 python language with keras/scikit/and a few other modules....... So from what I think it could be is after I installed anaconda at Applications level on my mac, it should of been originally installed at the User level. I reinstalled it at the User level, so technically I have two instances of anaconda on my system. Neither will work and inside Anaconda, i cannot import coremltools.
I have a hunch that maybe i need to change some pointers. Or just uninstall it completely from the machine and reinstall it at the User level from the start. I have about a year of swift experience, so im much more confident in my swift ability vs terminal ability. If anyone could coach me through how to cleanly remove it from my macbook pro, and explain the commands, I would greatly appreciate it. Or give any insight about whats going on or what im not doing. I can go into more detail if need be. Cheers in advance

How can I create debian package (*.deb) from ruby application written with qt4?

I found a lot of tutorials how to build application with Ruby and Qt, but i have no idea how anybody else will be able to run it! I am using Ubuntu 11.10, ruby 1.9.2 with rvm and:
rbqtapi -v output "QtRuby 2.0.5 using Qt-4.7.4"
P.S. I have no idea how to build *.deb, it will be my first desktop app, not web.
please have a look on http://shoesrb.com/ this is the best way I heard off for writing GUI apps.
Shoes has now not it's greatest time, but we put our best time to make it better, give it a try and someone will help you.
In case you are in need of assistance just ask as question on #shoes IRC channel on freenode servers.
If you're sold on QT, then you will need your users to install all the support libraries for QT (and anything else), then you can upload a rubygem to rubygems.org for your users to download.
Once, they've installed the support libraries, you'd only need to update your rubygem, which is fairly quick and easy for updates.
You may also wan to look at visualruby. It uses GTK. Then you'd install the GTK libraries instead of the QT ones.
http://www.visualruby.net
As far as .deb packages go, I tried to research the same thing with little success. The rubygems packaging system is designed to distribute ruby programs, so it is the best way to go. Also, you'll need to install different support libraries for different platforms. If you look at visualruby's install page, you can see how to install GTK for Linux and Windows.
Good Luck.

Brand new Mac, should I use Macports?

got a new mac, need to have it setup ready for development. I heard great things about macports, should i use it? Is it really easier than manually download and compile? anyone has any problems using it?
It is for typical ruby web development stuff.
thanks
Try homebrew. It's really good because it's highly optimized, and has no redundant packages.
It's also built in Ruby, which seems particularly relevant to you.
It really is easier than doing it manually. For example:
sudo port install gimp
will download, build, and install Gimp, plus all its dependencies. There are a lot of dependencies.
If you're doing "typical" stuff, the versions of stuff in MacPorts will be sufficient. Only if you need to be on the bleeding edge will you need to bypass MacPorts and download and install manually.
While macports can make installation easier, it's the difference between 4 commands (wget/tar/configure/make) and 1 command. Where macports really shines is in package management. If you're primarily interested in Ruby development, RubyGems might be all you need. If you're doing Ruby on Rails, macports will be quite helpful with all the non-ruby software you'll need. If you want to go completely GUI, you can use Porticus as a macports frontend.
I have had the occasional problem during the build phase, but that's under Tiger, which is behind the times.
I prefer macports, but some people like doing it themselves. Macports tends to be behind releases, but it's still good for me
The strongest problem with macports is that it's not cross platform, and it's hard to specify a well defined development scenario (e.g. you use Foo version 1.2.3, Bar version 0.5.6 etc.). It makes your life easier, but as of today, I still haven't found a decent solution to the definition and building of a development runtime environment which is efficient, easy and cross platform. See also this question.
So my suggestion is: go with macports, unless you want very strict control of your development environment.
You should use a package manager unless you have a well defined, specific reason not to.
'Course, I prefer fink.

Resources