Skip to content

Commit f68ed6c

Browse files
First commit from ssh cli for this repo.
1 parent 4a1d858 commit f68ed6c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
11
# ObsidianGitSync
22
A tool to help you sync your Obsidian notes to a git host like github. No need to pay for sync from now on.
3+
4+
To install all the necessary libraries associated with the linking command -lgit2 -lssh2 -lconfig++ -lssh -lcurl on a Linux system, you need to install the development packages for each of these libraries. The exact command to install these packages can vary depending on the Linux distribution you are using. Here are the commands for some of the most common distributions:
5+
Ubuntu/Debian-based systems:
6+
7+
bash
8+
9+
sudo apt-get update
10+
sudo apt-get install libgit2-dev libssh2-1-dev libconfig++-dev libssh-dev libcurl4-openssl-dev
11+
12+
Red Hat/CentOS/Fedora systems:
13+
14+
For CentOS/RHEL, you might need to enable EPEL (Extra Packages for Enterprise Linux) repository to find all packages:
15+
16+
bash
17+
18+
sudo yum install epel-release
19+
sudo yum install libgit2-devel libssh2-devel libconfig-devel libssh-devel libcurl-devel
20+
21+
Or, if you are using dnf (such as on Fedora):
22+
23+
bash
24+
25+
sudo dnf install libgit2-devel libssh2-devel libconfig-devel libssh-devel libcurl-devel
26+
27+
Arch Linux:
28+
29+
bash
30+
31+
sudo pacman -Syu
32+
sudo pacman -S libgit2 libssh2 libconfig libssh curl
33+
34+
Notes:
35+
36+
Development Packages: It's important to install the development versions of these libraries (typically suffixed with -dev or -devel) as they include the header files required for compilation.
37+
38+
Package Names: The exact names of the packages might slightly vary between distributions. If a package is not found, you can search your distribution's package repository or consider alternative packages that provide the same functionality.
39+
40+
Dependencies: Some of these libraries might have their own dependencies, which should be automatically handled by the package manager.
41+
42+
After running these commands, the development libraries you need should be installed on your system, and you should be able to compile your program with the specified linking flags.

0 commit comments

Comments
 (0)