Unable to install grub-customizer on Manjaro 21.0.4 - archlinux

I'm having trouble installing other packages too, I assume it's because I didn't configure something. Thoughts?
sudo pacman -S grub-customizer
error: target not found: grub-customizer

Download the offline installer of the application in this link: https://archlinux.org/packages/community/x86_64/grub-customizer/download/
Then double click on it in Dolphin and that's it.

Related

brew install httpd return error MacOS 10.14 version

Im running this command
brew install php#8.0
Unfortunately i got this error
==> Installing php#8.0 dependency: httpd
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.
==> ./configure --enable-layout=Slackware-FHS --prefix=/usr/local/Cellar/httpd/2
==> make
==> make install
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
Is there any possible solution to handle it without upgrading MacOS version?

How to download it without pip2

I tried to download the cuckoo on windows, While I got the error 'pip2 install -U cuckoo'.
The default version of pip on my windows system is for python3.
I tried to download python27, and went to the folder, try to pip install. I still failed
It is a little trick.
First, you do need to download the python27 and go to the python27 directory.
Then, you need to download pip2 (https://bootstrap.pypa.io/2.6/get-pip.py), use this command: curl https://bootstrap.pypa.io/2.6/get-pip.py -o get-pip.py
Then python.exe get-pip.py
Now, it still does not work if you just type pip2 install ..
You should use python.exe -m pip install -U cuckoo. (download package under the version of this directory).
After you download the WSL for ubuntu 16.04. You will meet an error the next time you reboot your PC. It is like registerDistribution error. You just need to uninstall all anti-virus software. For me, it is the McAfee. After you uninstall it, reboot your pc. You will find it works normally.
The reference is https://www.youtube.com/watch?v=nLGJHgv6uWA.

Yum install graphviz on RHEL 7 fails with 'No package graphviz available.'

I am trying to install graphviz on my RHEL VM. when I run
$sudo yum install graphviz
I get this:
This system is not registered with an entitlement server. You can use subscription-manager to register.
No package graphviz available.
Error: Nothing to do
I later found out that I get this same problem with all packages.
I have tried several solutions I have found online such as:
saving the .repo file found here (this link will download the file)
then running
#from dir containing graphviz-rhel.repo
$sudo yum-config-manager --add-repo graphviz-rhel.repo
the output was
This system is not registered with an entitlement server. You can use subscription-manager to register.
adding repo from: graphviz-rhel.repo
grabbing file graphviz-rhel.repo to /etc/yum.repos.d/graphviz-rhel.repo
repo saved to /etc/yum.repos.d/graphviz-rhel.repo
Then I ran
$sudo yum-config-manager --enable graphviz-rhel
This gives no output and $yum-config-manager list all does not list anything related to graphviz as a repo (enabled or disabled)
I tried the solution here: failed to install 'graphviz*' packages with yum command on my RHEL server
except I found the rpm file here
When I ran the rpm command I got an error because I was missing a couple dozen dependencies so I dont think following this solution for all of them is a reasonable solution.
If someone can either inform me why one of these didn't work or let me know how to accomplish my goal of getting yum install <package> to work I would greatly appreciate it.
As posted in the comments, in order to utilize yum on a RHEL system you need an active subscription

How do I install ASP.NET 5 vNext on Mac OS X? 404 on mono--monolite

I tried to install the latest ASP.NET on Mac OS X Yosemite according to the instructions on github.
I already have Homebrew, so this step worked fine:
brew tap aspnet/k
However, on the next step, brew install kvm, I get errors:
$ brew install kvm
==> Installing kvm dependency: mono
==> Downloading http://download.mono-project.com/sources/mono/mono-3.8.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/mono-3.8.0.tar.bz2
==> Downloading http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "mono--monolite"
Download failed: http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-111-latest.tar.gz
Note: the first time I ran this, I got a slightly different message when mono-3.8.0 installed successfully.
David Fowler was quick to answer my question on Twitter and suggested a brew update (Thanks David!) but I got this:
$ brew update
error: Your local changes to the following files would be overwritten by merge:
Library/Formula/google-perftools.rb
Please, commit your changes or stash them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
At this point, it seems like it's a Homebrew problem. What am I doing wrong?
Update: sorry, I was an idiot. As suggested by agua from mars and David Folwer, I fixed the issue as follows:
cd /usr/local/Library/Formula/
git reset HEAD google-perftools.rb
git checkout google-perftools.rb
brew update
brew install kvm
And this time kvm installed OK. Then I just added the line source /usr/local/Cellar/kvm/1.0.0-beta1/libexec/kvm.sh to my .bash_profile
As we discuss in comments.
You have a git conflict on this file Library/Formula/google-perftools.rb.
you should undo your change:
git checkout -- Library/Formula/google-perftools.rb
or doing a git reset.
And update brew again

Configuration for Java binding for ZeroMQ (0MQ) with no root privileges on Linux

I am a novice with zeroMQ and I am stuck at binding ØMQ with java on a server running CentOS release 5.9.
Unfortunately, I do not have super user/root privileges on the server and am trying to install ØMQ as a normal user with restricted privileges. I have installed ØMQ by following instructions on http://www.zeromq.org/area:download
Make sure that libtool, autoconf, automake are installed.
Check whether uuid-dev package, uuid/e2fsprogs RPM or equivalent on your system is installed.
Unpack the .tar.gz source archive.
Run ./configure, followed by make.
Could not run the following obviously
To install ØMQ system-wide run sudo make install.
On Linux, run sudo ldconfig after installing ØMQ.
Then I attempted to install jzmq.
Cloned [git clone https://github.com/zeromq/jzmq.git]
Ran autogen.sh
Ran configure
At this point I get the following error
checking for ZeroMQ... no
checking zmq.h usability... no
checking zmq.h presence... no
checking for zmq.h... no
configure: error: cannot find zmq.h
As a result of the above error I am not able to run java tests and get error "no jzmq in java.library.path".
Can anybody help/direct me to how to get java binding for zeromq work when you dont have root privileges to install it? Its difficult to get IT department to install a new software on servers.
Appreciate your help.
Note: I do not have write permissions to /usr directory
Thanks
GBP
This can be overcome by adding --with-zeromq=/home/user/zeromq (installation directory of zeromq)
./configure --with-zeromq=/home/user/zeromq
Other steps include
export LD_LIBRARY_PATH=/home/user/zeromq/lib
You can also use JeroMQ (https://github.com/zeromq/jeromq) which is a pure Java implementation of ZeroMQ
I got this working by running autogen.sh on OEL 6 then running configure / compiling / installing on CentOS 5.9. I briefly looked into why autogen.sh was failing and the problem was the tool chain was too old. Since I had a more up-to-date system with a modern tool chain available running autogen.sh on something other than CentOS 5 was the easiest path for me. I'm sure it works fine with other modern Linux variants, I had OEL 6 at my finger tips.
I also did not have access to a standard directory for installation. To get that working I added zmq.jar to my class path, and the run-time linker needed to be able to find the zeromq and jzmq run-time libraries.
I faced the same issue on CentOS 6.5 and found that you need to install "gcc-c++" for this to work.
I used the following to install dependencies:
yum -y install jdk zeromq-devel unzip libtool gcc autoconf automake gcc-c++ python
Note that "jdk" comes from our private repository and it's same what can be downloaded from java.com
The following public repositories are installed on server:
atomic
Actually, I ended up having this same issue, and the following script worked for me, where I installed zeromq into ~ (so that I have ~/lib contains libzmq.a libzmq.la libzmq.so libzmq.so.3 libzmq.so.3.1.0 pkgconfig)
./autogen.sh ./configure --prefix=$HOME \ #because you don't have root privileges
--with-zeromq=$HOME --includedir=$HOME/include/ --libdir=$HOME/lib/
./make
./make -n install
#to check to see if it installs it to the right location
make install